package com.sooncode.project.focusservice.model;

import com.sooncode.project.core.annotations.Lookup;
import com.sooncode.project.core.annotations.LookupModel;
import com.sooncode.project.focusservice._.base.BaseDomainModel;
import lombok.Data;

@Data
@LookupModel
public class TestLevel extends BaseDomainModel<TestLevel> {
    private String age;
    private String testItemId;
    @Lookup(fromModel = TestItem.class,localField = "testItemId",fromField = "name")
    private String itemName;
    @Lookup(fromModel = TestItem.class,localField = "testItemId",fromField = "type")
    private String itemType;
    @Lookup(fromModel = TestItem.class,localField = "testItemId",fromField = "code")
    private String itemCode;
    private String level;
    private Double minScore;
    private Double maxScore;
    public void add(){
        super.add();
    }
}
